package com.softWang.common.service.sms.aliyun;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;
@Data
@Component
@ConfigurationProperties(prefix = "sms.aliyun")
@ConditionalOnProperty(name = "sms.impl", havingValue = "aliYunSmsSendImpl")
public class AliYunConfig {
    private String accessKey;
    private String accessSecret;
    // 签名名称
    private String signName;
    // 阿里云短信API的端点（固定）
    private String endpoint;
}
